Create a web page presentation using R Markdown that features a plot created with Plotly.
Host your webpage on either GitHub Pages, RPubs, or NeoCities.
Your webpage must contain the date that you created the document, and it must contain a plot created with Plotly. We would love to see you show off your creativity!
## Loading plotly library
library(plotly)
## Warning: package 'plotly' was built under R version 4.0.5
## Loading required package: ggplot2
## Warning: package 'ggplot2' was built under R version 4.0.5
## Registered S3 methods overwritten by 'tibble':
## method from
## format.tbl pillar
## print.tbl pillar
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
plain_x <- c(1:100)
plain_y <- rnorm(100, mean = 0)
# Creating a data frame
data <- data.frame(plain_x, plain_y)
# Plotting a scatter graph using plotly
plot_ly(data, x = ~plain_x, y = ~plain_y , type = 'scatter', mode = 'lines')